using System;
using System.Collections.Generic;
using System.Text;

namespace ElteIk.RoboSoccer.Communication
{
    /// <summary>
    /// This class holds only the relevant datas to control the robots.
    /// </summary>
	public class RobotPlayerControlData : Core.IRobotController
	{
        #region Fields

        private float motorLeft;
        private float motorRight;
        private float brake;

        #endregion

        #region Lifecycle
		
        public RobotPlayerControlData(float motorLeft, float motorRight, float brake)
        {
            this.motorLeft = motorLeft;
            this.motorRight = motorRight;
            this.brake = brake;
        }

    	#endregion		

        #region IRobotController Members

		public float MotorLeft
		{
			get
			{
                return motorLeft;
			}
			set
			{
                motorLeft = value;
			}
		}

		public float MotorRight
		{
			get
			{
                return motorRight;
			}
			set
			{
                motorRight = value;
			}
		}

        public float Brake
        {
            get
            {
                return brake;
            }
            set
            {
                brake = value;
            }
        }

		#endregion
	}
}
